dojo.declare("BaseWG", null, {
	
	
	//options
	options:{		
		
	},
	
	// Model
	model:{
		
	},
	
    // Contructor
	constructor: function(options){
		
	},

	// Method
	
	fireEvent: function(name,arg){
		this[name](arg);
	},
	updateModel: function(atribute,value){
		this.model[atribute] = value;
		this.fireEvent("onModelChange",{
			atribute:atribute,
			value: value
		});
	},	
    //Events
    onModelChange: function(arg){
    	
    }
});
